# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         demo4.28
# Description:
# Author:       $赵怡蕾
# Date:         2019/1/29
#-------------------------------------------------------------------------------

numbers = [1,6,7]
# 在列表numbers中插入一个列表
numbers[1:1] = [2,3,4,5]
print(numbers)                 # 运行结果：[1, 2, 3, 4, 5, 6, 7]
numbers[1:4] = []
print(numbers)                 # 运行结果：[1, 5, 6, 7]
